<template>
  <div class="bread">
    <!-- 顶部面包屑 -->
    <a-breadcrumb >
      <a-breadcrumb-item v-for="(v, i) in props.list" :key="i" >{{ v }}</a-breadcrumb-item>
    </a-breadcrumb>
  </div>
</template>

<script lang="ts" setup>
import { defineProps} from "vue";
const props = defineProps(["list"]);
</script>

<style scoped lang="scss">
.bread{
  background: white;
  padding:10px 20px;
}
</style>
